package com.xtq.springcloud.service.MemberServiceImpl;

import com.xtq.springcloud.dao.IMemberDao;
import com.xtq.springcloud.entity.Member;
import com.xtq.springcloud.service.IMemberService;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: xietianqi
 * @create: 2024-01-22 22:47
 * @description: MemberService接口实现类
 **/
@Service
public class MemberServiceImpl implements IMemberService {
	@Resource
	private IMemberDao memberDao;
	
	@Override
	public Member querMemberById(Long id) {
		return memberDao.queryMemberById(id);
	}
	
	@Override
	public int save(Member member) {
		return memberDao.save(member);
	}
}
